package com.springboot.demo.model.par;

import com.cx.item.common.par.check.CheckParInterface;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品添加编辑
 * Created by hwm on 2018/6/20.
 */
@ApiModel(description = "地址添加编辑")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AddressAddOrUpdatePar implements CheckParInterface {

    @ApiModelProperty("地址id")
    private Integer addressId;

    @ApiModelProperty("用户id")
    @ApiParam(hidden = true)
    private Integer customerId;

    @ApiModelProperty("省")
    private String provinceName;

    @ApiModelProperty("市")
    private String cityName;

    @ApiModelProperty("县/区域")
    private String zoneName;

    @ApiModelProperty("详细街道")
    private String detailedAddress;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty("是否默认:0否,1是")
    private Integer isDefault;
}
